﻿

// https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板

namespace Manga.Contents
{
    using ViewModels;
    using System;
    using Windows.UI.Xaml.Controls;
    /// <summary>
    /// 可用于自身或导航至 Frame 内部的空白页。
    /// </summary>
    public sealed partial class Search : Page
    {
        public Search()
        {
            this.InitializeComponent();
        }

        async private void SearchComic(AutoSuggestBox sender,AutoSuggestBoxQuerySubmittedEventArgs e)
        {
            var dc = this.DataContext as SearchViewModel;
            await dc.Search();
        }
    }
}
